def list_to_dic(list):
    if list is None:
        return

    for target in list:
        att = dir(target)

        for str in att:
            if str == "__module__":
                continue

            item = getattr(target, str)

            if type(item) == type(str):
                print(str + " : " + item)

    print(list)